/*******************************************************************************
 * Copyright (c) 2011 Grupo de Sistemas Inteligentes (GSI) - DIT UPM
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/
package es.upm.dit.gsi.eclipse.jadex.adfmanager.wizards;

/**
 * Class that represents a "fact" for the fact management in the AddBeliefWizardPage2 class
 * 
 * @author Jorge Valhondo
 *
 */
public class Fact {
	String _name;
	
	String _class;
	
	String _language;
	
	String _description;
	
	public Fact(String _name, String _class, String _language,
			String _description) {
		super();
		this._name = _name;
		this._class = _class;
		this._language = _language;
		this._description = _description;
	}
	
	public Fact(String[] content) {
		this(content[0],
				content[1],
				content[2],
				content[3]);
	}

	public String get_name() {
		return _name;
	}

	public String get_class() {
		return _class;
	}

	public String get_language() {
		return _language;
	}

	public String get_description() {
		return _description;
	}
	
	public String[] getText(){
		return new String[]{_name,_class,_language,_description};
	}
}
